#coding=utf-8
#Boa:Dialog:DlgProLabel
#预备用来替换DlgKeyword

import wx

def create(parent):
    return DlgProLabel(parent)

[wxID_DLGPROLABEL, wxID_DLGPROLABELBTNCANCEL, wxID_DLGPROLABELBTNCONFIRM, 
 wxID_DLGPROLABELBTNNEW, wxID_DLGPROLABELCHECKLISTBOX, wxID_DLGPROLABELRB, 
] = [wx.NewId() for _init_ctrls in range(6)]

class DlgProLabel(wx.Dialog):
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Dialog.__init__(self, id=wxID_DLGPROLABEL, name=u'DlgProLabel',
              parent=prnt, pos=wx.Point(537, 188), size=wx.Size(522, 582),
              style=wx.DEFAULT_DIALOG_STYLE, title=u'\u5546\u54c1\u6807\u7b7e')
        self.SetClientSize(wx.Size(514, 548))
        self.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.BOLD, False, u'Arial'))
        self.Center(wx.BOTH)

        self.btnNew = wx.Button(id=wxID_DLGPROLABELBTNNEW,
              label=u'\u65b0\u5efa', name=u'btnNew', parent=self,
              pos=wx.Point(0, 0), size=wx.Size(86, 29), style=0)
        self.btnNew.Bind(wx.EVT_BUTTON, self.OnBtnNewButton,
              id=wxID_DLGPROLABELBTNNEW)

        self.btnConfirm = wx.Button(id=wxID_DLGPROLABELBTNCONFIRM,
              label=u'\u786e\u5b9a', name=u'btnConfirm', parent=self,
              pos=wx.Point(168, 0), size=wx.Size(86, 29), style=0)
        self.btnConfirm.Bind(wx.EVT_BUTTON, self.OnBtnConfirmButton,
              id=wxID_DLGPROLABELBTNCONFIRM)

        self.btnCancel = wx.Button(id=wxID_DLGPROLABELBTNCANCEL,
              label=u'\u53d6\u6d88', name=u'btnCancel', parent=self,
              pos=wx.Point(272, 0), size=wx.Size(86, 29), style=0)
        self.btnCancel.Bind(wx.EVT_BUTTON, self.OnBtnCancelButton,
              id=wxID_DLGPROLABELBTNCANCEL)

        self.rb = wx.RadioBox(choices=[u'全部具有以下标签',
              u'只要具备标签之一'], id=wxID_DLGPROLABELRB,
              majorDimension=1, name=u'', parent=self, pos=wx.Point(5, 35),
              style=wx.RA_SPECIFY_COLS)

        self.checkListBox = wx.CheckListBox(choices=[],
              id=wxID_DLGPROLABELCHECKLISTBOX, name=u'checkListBox',
              parent=self, pos=wx.Point(2, 128), size=wx.Size(510, 416),
              style=0)

    def __init__(self, parent):
        self._init_ctrls(parent)

    def OnBtnNewButton(self, event):
        event.Skip()

    def OnBtnConfirmButton(self, event):
        event.Skip()

    def OnBtnCancelButton(self, event):
        event.Skip()
